package com.tianyi.dao.mapper;

import com.github.pagehelper.Page;
import com.tianyi.dao.entity.pictureAlbum.Picturealbum;
import com.tianyi.dao.entity.pictureAlbum.PicturealbumExample;
import org.apache.ibatis.session.RowBounds;

import java.util.List;

public interface PicturealbumMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Picturealbum record);

    int insertSelective(Picturealbum record);

    Page<Picturealbum> selectByExample(PicturealbumExample example, RowBounds rowBounds);

    List<Picturealbum> selectByExample(PicturealbumExample example);

    Picturealbum selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Picturealbum record);

    int updateByPrimaryKey(Picturealbum record);
}